package com._方法;


import java.util.Scanner;

public class Test12 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入需要判断的整数");
        int a = sc.nextInt();
        boolean b =jiOuShu(a);
        System.out.println(b);

    }

    public static boolean jiOuShu(int a) {
        boolean b = a % 2 == 1;
        return b;
    }
}
